home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Utilities Professional 1-1500
/
Utilities Professional 1-1500 (1994)(WPD)[!].iso
/
12511500
/
var1308.dms
/
var1308.adf
/
NOS_HELP.LHA
/
PPP-Startup
< prev
Wrap
Text File
|
1993-01-27
|
8KB
|
216 lines
# Last-modified: 1993/01/27
# Version: 1.1
#
# Filename: PPP-Startup
# Modified-by: Richard Akerman (akerman@qucis.queensu.ca)
#
# This is a chopped-down version of NOS/net-startup from the amiganos-with-ppp
# distribution. It is designed to help people who want to use PPP.
#
# A U T O E X E C . N E T
#
# Note: NET.EXE ignores all lines beginning with a pound sign (#).
#
#-----------------------------------------------
#
# This entry tells NET.EXE the name of your machine. The suffix
# 'ampr' is not officially confirmed *yet*, but for now we'll use
# it to identify this station as an "AMateur Packet Radio" station.
# Your hostname will show up in mail headers, etc.
#
hostname a3000-ppp.Grafnetix.QC.CA
#
#-----------------------------------------------
#
# The next line does the same thing that "MYCALL" did in your AX.25
# TNC... it identifies the callsign you're using on the air in AX.25
# packets.
#
#ax25 mycall n0qrm-0
#
#-----------------------------------------------
#
# This one contains your IP address.
#
#ip address [128.120.199.1]
ip address 132.204.20.40
#
#------------------------------------------------
#
# The attach command tells NET.EXE about the interfaces in your computer
# that you will be using for TCP/IP.
#
# The syntax is:
# attach <hw type> <I/O address> <vector> <mode> <label> <bufsize>
# <mtu> [<speed>]
#
# See USEGUIDE.DOC for explanation of the attach command and its options.
#
# COM1: set up as a 4800 baud SLIP connection with no flow control,
# with Van Jacobson TCP header compression enabled
# (to enable CTS flow control, change argument after baud rate to 'cv')
# (to disable VJ compression, delete 'v' from argument after baud rate)
#
#attach asy 0x3f8 4 slip sl0 8092 576 4800 v
#
# COM1: set up as a 2400 baud ppp link to another computer, no flow control
# (to enable CTS flow control, add 'c' argument after baud rate)
#
###log pppstate.log
###ppp trace 2
attach asy serial.device 0 ppp pp0 8092 576 38400c
#
# PPP has many parameter options, they are described briefly below;
# refer to the README files for more information on these options
#
# tracing options:
# there are two trace methods for a PPP interface. they can operate
# separately or in combination. the first method uses a combination
# of the 'log' and 'ppp trace' commands (see the example just above
# the attach command). it traces the transitions of the PPP state
# machine through its various link states and layers. the second method
# (as shown below) traces the contents of packets sent and received
# on a PPP interface. sometimes disk delays while tracing can cause
# packet timeout and retransmission; in this case, use the 'ppp timeout'
# command to lengthen the timeout interval.
#
###trace pp0 1211 ppp.log
#trace pp0 211 ppp.log
#
# PPP Link Control Protocol options:
# use the 'ppp ctlmap' command to flag bytes which cant be passed
# across the data link. if the data link is 8-bit transparent, use
# a ctlmap of all zeros. if, for example, XON/XOFF are intercepted
# as flow control by a device in the data link, use a ctlmap value
# of 0x000A0000
# [changed as advised by ignatios@cs.uni-bonn.de (Ignatios Souvatzis)]
# the XON and XOFF bytes will be 'escaped' before
# transmission (and 'un-escaped' by the remote PPP decoder), but all
# other ASCII control chars will be sent 'in the clear'.
#
ppp mru pp0 256
#ppp ctlmap pp0 0xffffffff
ppp ctlmap pp0 0x00000000
ppp accomp pp0 1
ppp protcomp pp0 1
#
# PPP Peer Authentication Protocol options:
# the PAP phase is not required, but is recommended in dial-up situations.
# the side of the link that wants to restrict access should uncomment
# the 'ppp auth' command. the other side will prompt for a peerid and
# password; the peerid and password can be preset with a combination of
# the 'ppp peerid' command and a corresponding entry in the \FTPUSERS file.
#
#ppp auth pp0 PAP
#ppp peerid pp0 cckatie
#
# PPP IP Control Protocol options:
# each side of a PPP link may know one, both or neither of their respective
# IP addresses, but both addresses must be collectively known and agreed
# upon. please refer to the README files for more on IP address negotiation.
#
ppp ipcomp pp0 vj
#ppp peer pp0 [128.120.4.104]
#
# PPP activation command:
# a PPP interface can be passive or active. a passive PPP interface will
# wait (forever) for the remote peer to initiate LCP negotiations. a PPP
# interface is passive by default; use the 'ppp active' command to switch
# an interface from passive to active. at least one side of the PPP link
# must be an active interface; it is permissible for both sides to be
# active; if both sides are passive, nothing will happen because neither
# side will attempt to start LCP negotiations to open the PPP link.
# please refer to the README files for more on active/passive status.
#
ppp active pp0
#ppp passive pp0
#
#-------------------------------------------------
#
# The KISS computer-to-tnc protocol includes a "command packet" that
# you can use to twiddle TNC parameters like TXDELAY, TXTAIL, PERSIST,
# and SLOTTIME. Since most KISS implementations include good default
# values, you shouldn't have to use this feature, but if things don't
# work, you can use the "param" command to try tweaking the TNC. If
# you think you need to do this, read the KISS protocol documentation,
# and/or talk to a friend who's an expert, *before* you go dorking with
# your TNC settings! All TNC's were not created equal, so you *MUST* read
# the docs for the KISS implementation for your TNC as well.
#
# WHEW! Good thing you probably don't have to do this, right?
#
# As an example, N3EUA's TNC-1 with a gross old crystal
# rig likes longer TXDELAY and TXTAIL values than the defaults:
#
# param ax0 1 20
# param ax0 4 10
#
# The format is: param <label> <hex value> <hex value> <hex value> ...
#
#-------------------------------------------------
#
# The following entry tells the program to route all packets out
# the interface labeled pp0 in the attach command. Notice that if you
# are using the attach line from above for COM2, the label is 'ax1'
# instead.
#
route add default pp0
#
#
# These commands tell the program where is can find domain name servers
#
#domain addserver [192.4.1.1]
#domain suffix postimage.com
#
#-------------------------------------------------
#
# Time To Live is the maximum number of hops a packet can take
# before it is thrown away. This command prevents an inadvertent
# infinite loop from occuring with packets in the network.
#
ip ttl 255
#
#-------------------------------------------------
#
# The Maximum Segment Size is the largest single transmission that
# you will send. An mss of 536 corresponds to the mtu of 576 set
# up in the attach command above, overhead bytes considered.
#
tcp mss 536
#
#-------------------------------------------------
#
# The Window parameter establishes the maximum number of bytes
# that may be outstanding before your system expects an ack.
# If window is twice as big as mss, for example, there will be two
# active packets on the channel at any given time... large values of
# window provide improved throughput on full-duplex links, but are a
# problem on the air. Keep mss <= window <= 2*mss if you're on the air.
#
tcp window 1072
#
#-------------------------------------------------
#
# This entry will open net.log in the \spool directory and will
# record the server activity of your system. If you don't want a log,
# comment out this line... if you do, make sure you have a \spool
# directory!
#
#log \spool\net.log
#
#-------------------------------------------------
#
# Each of the servers (services you will provide) must be turned
# on before they will be active. The following entries turn all
# of them on. To turn any function off use the command 'stop' after
# NET gets fired up, or just comment out the line here.
#
start smtp
start ftp
start echo
start discard
start telnet
#
#---------------------------------------------------
# THE END